package com.iflytek.aisol.audit.iflytek.strategy.manage.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.*;

import java.io.Serializable;

/**
 * CLassName: frGrayConfigServerInstance
 * Description: 灰度策略外键引用表,指定某个灰度策略用到的server instance
 * Author: wuzhixiang
 * Date: 2024-12-28 14:16
 * Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity
@Table(name = "FrGrayConfigServerInstance")
public class FrGrayConfigServerInstance implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "gray_config_id")
    private Long grayConfigId;

    @Column(name = "server_instance_id")
    private Long serverInstanceId;
}
